﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using Sharp.Infrastructure;
using Sharp.Portal;
using Sharp.Portal.AdminLTE;
using Sharp.Portal.Interface;
using Sharp.Portal.Mvc.Form;

namespace Sharp.WebBooter.Areas.Platform.Models
{
    [ItemPage(OpenWith = OpenWith.Window)]
    public partial class MessageModel : ISharpForm
    {
        public MessageModel()
        {
            UI = new BSSharpFrom(this);
        }
        /// <summary>
        /// 主键
        /// </summary>
        [HiddenInput]
        public int Id { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        [Display(Name = "内容", Order = 2), DataType(DataType.MultilineText)]
        public string Content { get; set; }
        /// <summary>
        /// 收件人
        /// </summary>
        [Display(Name = "收件人", Order = 1)]
        public string RecipientName { get; set; }
        public SharpFrom UI { get; set; }
    }
   
    
}
